
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<span style="font-size:18px;">
<html>
<head>
    <title>首页</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" type="text/css" href="attendance/css/bootstrap.min.css" />
    <link rel="stylesheet" type="text/css" href="attendance/css/commonly-used-show.css" />
    <script type="text/javascript" src="attendance/js/jquery.min.js"></script>
    <script type="text/javascript" src="attendance/js/bootstrap.js" ></script>

</head>
<body class="mybody">

<jsp:include page="theTopMenuAdmin.jsp" />


<div class="container-fluid">
    <div class="row">
        <div class="col-md-2">
            <div class="text-center" id="left-content">
                <div class="list-group">
                    <a href="${pageContext.request.contextPath}/admin" class="list-group-item active">首页</a>
                </div>
                <div class="list-group">
                    <a href="${pageContext.request.contextPath}/teacherInformationManagement" class="list-group-item">老师信息管理</a>
                    <a href="${pageContext.request.contextPath}/studentInformationManagement" class="list-group-item">学生信息管理</a>
                    <a href="${pageContext.request.contextPath}/adminCourseInformation" class="list-group-item">课程信息管理</a>
                </div>
                <div class="list-group">
                    <a href="${pageContext.request.contextPath}/adminStrationManagement" class="list-group-item">管理所有用户</a>
                    <a href="#" class="list-group-item">设置</a>
                    <a href="${pageContext.request.contextPath}/assistance" class="list-group-item">留言与联系</a>
                </div>
            </div>
        </div>

        <section class="content container-fluid">
            <div style="padding-top: 20%;text-align: center;font-size: 28px;">
                <h1>欢迎使用！</h1>
            </div>
        </section>

    </div>

</div>

<script type="text/javascript">
    var userdt = JSON.parse(sessionStorage.getItem("user"));
    if (userdt.result.userName != null){
        $("#usname").text(userdt.result.userName);
    }else {
        $("#usname").text(userdt.result.userLoginName);
    }

</script>

</body>
</html>
</span>